Size to Fit Command (Format Menu)

   

Changes the height and width of an object to fit its contents.

Toolbar shortcut:  .